﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;

namespace DistributeTransaction.DAL
{
    public class DatabaseInitializer : DropCreateDatabaseIfModelChanges<DatabaseContext>
    {
        protected override void Seed(DatabaseContext context)
        {
            base.Seed(context);

            //Add a User and Role Sample!           
            //Membership.CreateUser("parag", "test123");           
            //Roles.CreateRole("Admin");           
            //Roles.AddUsersToRole(new[] {"parag"}, "Admin");  
        }
    }
}